package com.frogs.ucenter.service.daoimpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.UserHonorScoreLogDao;
import com.frogs.ucenter.entity.UserHonorScoreLog;
import com.frogs.ucenter.service.UserHonorScoreLogService;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("userHonorScoreLogService")
public class UserHonorScoreLogServiceImpl extends BaseServiceImpl<UserHonorScoreLog> implements UserHonorScoreLogService {
    @Autowired
    private UserHonorScoreLogDao userHonorScoreLogDao;

    public UserHonorScoreLogServiceImpl() {
        super();
    }

    public UserHonorScoreLogDao getUserHonorScoreLogDao() {
        return userHonorScoreLogDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<UserHonorScoreLog> getBaseDao() {
        return userHonorScoreLogDao;
    }

    public void setUserHonorScoreLogDao(UserHonorScoreLogDao userHonorScoreLogDao) {
        this.userHonorScoreLogDao = userHonorScoreLogDao;
    }
}